<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title></title>
	<style type="text/css">
		*{
			margin: 0;
			padding: 0;
		}
		body{
			background-color: black;
		}
		ul{
			width: 200px;
			height: 200px;
			margin: 100px auto;
			box-sizing: border-box;
			position: relative;
			transition: all 50s;

			transform-style:preserve-3d ;
/*			将页面设置为 3d 舞台  默认为2d*/
		}
		li{
			list-style: none;
			width: 200px;
			height: 200px;
			position: absolute;
		}
/*		左边*/
		li:nth-of-type(1){
			background-image: url(../图片/1.png);
			background-size: cover;
			background-position: center;
			transform: translateX(-100px) rotateY(90deg);
		}
/*		右边*/
		li:nth-of-type(2){
			background-image: url(../图片/2.png);
			background-size: cover;
			background-position: center;
			transform: translateX(100px) rotateY(90deg);
		}
/*		上边*/
		li:nth-of-type(3){
			background-image: url(../图片/3.png);
			background-size: cover;
			background-position: center;
			transform: translateY(-100px) rotateX(90deg);
		}
/*		下面*/
		li:nth-of-type(4){
			background-image: url(../图片/4.png);
			background-size: cover;
			background-position: center;
			transform: translateY(100px) rotateX(90deg);
		}
		li:nth-of-type(5){
			background-image: url(../图片/5.png);
			background-size: cover;
			background-position: center;
			transform: translateZ(100px);
		}
		li:nth-of-type(6){
			background-image: url(../图片/6.png);
			background-size: cover;
			background-position: center;
			transform: translateZ(-100px);
		}
		ul:hover{
			transform: rotate3d(1, 1, 1, 2080deg);
		}
	</style>
</head>
<body>
	<ul>
		<li></li>
		<li></li>
		<li></li>
		<li></li>
		<li></li>
		<li></li>
	</ul>
</body>
</html>